#include #include #include using namespace std; double an(int x, int n) { double sum; int i; sum=1/x; for (i=2; i<=n-1; i=i+2) { sum = sum + i/pow(x,i+1); } return (sum); } int main() { int x,n; cout<<"DWSE x<>0:"<>x; cout<<"DWSE n peritto:"<>n; } while(n%2==0); cout<